<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org">
<div id="common-quote">
	<div class="box-header with-border">
		<i class="fa fa-th-list"></i>
		<h4 class="box-title">引入价格单信息</h4>
		<input type="hidden" name="quoteId" id="quoteId" />
	</div>
	<div class="widget-content nopadding">
		<div class="box-body" id="quoteInfo">
			<table class="table table-bordered">
				<tbody>
					<tr class="odd gradeX">
						<td width="8%" class="center">项目名称</td>
						<td width="40%">
							<div class="col-md-11">
								<input class="form-control" type="text" id="quoteName"
									name="quoteName" readonly="readonly" />
							</div>
							<div class="col-md-1">
								<button th:if="${yin==1}" type="button" id="queryQuote" class="btn btn-info"
									title="引入普通价格单">
									<i class="fa fa-search"></i>
								</button>
							</div>
						</td>
						<td width="8%" class="center">附件</td>
						<td width="16%">
							<button type="button" class="btn btn-sm btn-info downquote">下载报价单附件</button>
							<span id="quoteANum" class="badge label-pill label-primary">0</span>
						</td>
					</tr>
					<tr>
						<td width="8%" class="center">备注</td>
						<td colspan="5">
							<div class="col-md-11">
								<textarea class="form-control" rows="3" id="quoteMemo"
									name="quoteMemo" readonly="readonly"></textarea>
							</div>
						</td>
					</tr>
				</tbody>
			</table>
			<h5 class="modal-title">
				<strong>泵</strong>
			</h5>
			<div class="box-body" style="width: 100%; overflow-x: scroll;">
				<table
					class="mytable dataTable table-bordered text-center table-striped table-hover"
					width="3000px" id="mainDeviceTable">
					<thead>
						<tr>
							<th width="3%">序号</th>
							<th width="5%">产品名称</th>
							<th width="5%">产品类型</th>
							<th width="5%">产品型号</th>
							<th width="5%">降库状态</th>
							<th width="4%">数量</th>
							<th width="3%">单位</th>
							<th width="4%">原价(元)</th>
							<th width="4%">报价(元)</th>
							<th width="6%">功率(kw)</th>
							<th width="6%">过流材质</th>
							<th width="6%">传输介质</th>
							<th width="6%">粘度(Cp)</th>
							<th width="6%">流量(m3/h)</th>
							<th width="6%">扬程(m)</th>
							<th width="6%">温度(℃)</th>
							<th width="5%">比重(kg/m3)</th>
							<th width="5%">入口压力(MPa)</th>
							<th width="5%">有效气蚀余量(NPSHa)(m)</th>
							<th width="6%">必须气蚀余量(NPSHr)(m)</th>
						</tr>
					</thead>
					<tbody>

					</tbody>
				</table>
			</div>
			<h5 class="modal-title">
				<strong>其他</strong>
			</h5>
			<div class="box-body">
				<table
					class="mytable dataTable table-bordered text-center table-striped table-hover"
					width="100%" id="otherTable">
					<thead>
						<tr>
							<th class="center" width="10%">序号</th>
							<th class="center" width="15%">配件名称</th>
							<th class="center" width="15%">规格型号</th>
							<th class="center" width="15%">材料</th>
							<th class="center" width="10%">单位</th>
							<th class="center" width="15%">数量</th>
							<th class="center" width="10%">原价</th>
							<th class="center" width="10%">报价</th>
						</tr>
					</thead>
					<tbody>

					</tbody>
				</table>
			</div>

			<h5>
				<strong>本次报价各项总价</strong>
			</h5>
			<table class="table table-bordered">
				<tbody>
					<tr class="odd gradeX">
						<td width="5%" class="center">总原价(元)</td>
						<td width="8%"><input class="form-control" type="text"
							readonly="readonly" id="costSum" /></td>
						<td width="4%" class="center">总报价(元)</td>
						<td width="8%"><input class="form-control" type="text"
							id="sum" name="sum" readonly="readonly" /></td>
						<td width="4%" class="center">浮动比例</td>
						<td width="8%"><div class="input-group">
								<input class="form-control" type="text" id="ratio" name="ratio"
									readonly="readonly" /> <span class="input-group-addon">%</span>
							</div></td>
						<td width="5%" class="center">浮动金额</td>
						<td width="8%"><input class="form-control" type="text"
							id="discount" name="discount" readonly="readonly" /></td>
					</tr>
					<tr class="odd gradeX">
						<td width="5%" class="center" style="display: none;">拟报价(元)</td>
						<td width="8%" style="display: none;"><input class="form-control" type="text"
							id="assumeSum" name="assumeSum" readonly="readonly" /></td>
						<td width="4%" class="center">报价说明</td>
						<td colspan="7"><input class="form-control" type="text"
							id="quoteExplain" name="quoteExplain" readonly="readonly" /></td>
					</tr>
				</tbody>
			</table>
		</div>
	</div>


</div>
</html>